import { apiHttp } from '/@/utils/axios';

export interface qualItem {
  aptType: string;
  certNo: string;
  aptName: string;
  releaseDate: string;
  validEdate: string;
  approveOrganName: string;
}

export interface articleItemModel {
  articleId: string;
  articleTitle: string;
  articleAuthor?: string;
  articlePubDate?: number;
  reprintUrl?: string
}

export const getArticleListApi = params => {
  return apiHttp.post({ url: '/cms/item/articleList', params });
}

export const getArticleTreeApi = params => {
  return apiHttp.post({ url: '/cms/item/itemTree', params });
}

export const getArticleDetailApi = params => {
  return apiHttp.get({ url: '/cms/article/detail/', params });
}

export const getArticleNewsOneApi = params => {
  return apiHttp.post({ url: '/article/newsOne', params });
}
